Category: SharePoint Framework

The Microsoft Graph Toolkit (MGT) is a collection of reusable, framework-agnostic components and authentication providers for accessing and working with Microsoft Graph. The components are fully functional right out of the box, with built in providers that authenticate with and fetch data from Microsoft Graph. MGT has a nice and simple integration with...

Last week Microsoft announced SPFx 1.13. Corresponding spfx-fast-serve modules were also updated to support the latest SPFx. A few notable changes were introduced for spfx-fast-serve as well. The local workbench is deprecated in SPFx 1.13. The corresponding features were also removed from spfx-fast-serve. As a result, serve setting "open" was removed....

A few weeks ago spfx-fast-serve received an interesting update: - hot module replacement (known as HMR) Read further to learn more about how it works. What is spfx-fast-serve? A command line utility, which modifies your SharePoint Framework solution, so that it runs continuous command as fast as possible. Let's start with a bit of theory here. Usually, when....

In the last few weeks, I was working on spfx-fast-serve v2.0 release. What is spfx-fast-serve? A command line utility, which modifies your SharePoint Framework solution, so that it runs continuous command as fast as possible. - New architecture - Better extensibility - Configuration file - SPFx 1.12+ support - Migration guide At the very beginning, this tool...

If you develop multi-lingual SharePoint Framework solutions, you know that you should keep your localization files in sync. You have a "master" file, which defines your localization resources structure, by default it's called "mystrings.d.ts" where you define all different keys. In the corresponding {locale}.js file you implement actual translations. In some...

In this post, we're going to build a prototype of an outlook add-in, which saves the current email to your OneDrive. The interesting part is, that our add-in will be SPFx based, and our code, which saves emails, is hosted on Azure Functions and uses MSAL.NET for authentication and MS Graph .NET library to interact with MS Graph API. Important! On the moment....

In this post, I'm going to cover different options when it comes to accessing organizational data from SPFx web parts. By organizational data I mean the most common APIs like SharePoint or MS Graph. However, it's valid for all other APIs as well. I'm going to cover two primary options here. The first one doesn't include any custom services or custom APIs and...

This post challenge: We have an SPFx solution, which performs HTTP calls to our API (protected with Azure AD authentication), hosted on Azure Functions. From Azure Function we further call SharePoint endpoints to get some data. We use PnP Core SDK to interact with SharePoint. For simplicity, the API endpoint returns all list titles in a web, where we're...